package com.tuanchau.android.englishtooltip;


public class Global {
	public static final String ACTION_OPEN_WORD_DETAIL = "ACTION_OPEN_WORD_DETAIL";
	public static final String ACTION_OPEN_EDIT_WORD = "ACTION_OPEN_EDIT_WORD";
	
	
	public static final String RESULT_CODE = "RESULT_CODE";
	public static final String STATE_CODE = "STATE_CODE";
	public static final String PREF_FILE_NAME = "PREF_SETTING_FILE_NAME";
	public static final String PREF_KEY_DELAY = "PREF_KEY_DELAY";
	public static final String PREF_KEY_PLAY_ORDER = "PREF_KEY_PLAY_ORDER";
	public static final String PREF_KEY_VOLUME = "PREF_KEY_VOLUME";
	public static final String PREF_KEY_SHOW_TOAST = "PREF_KEY_SHOW_TOAST";
	
	public static final String PREF_KEY_UPDATE_SETTING = "PREF_KEY_UPDATE_SETTING";
	public static final String PREF_KEY_UPDATE_WORD = "PREF_KEY_UPDATE_WORD";
	
	public static final String PREF_KEY_CURRENT_WORD = "PREF_KEY_CURRENT_WORD_ID";
	public static final String PREF_KEY_CURRENT_INDEX = "PREF_KEY_CURRENT_INDEX";
	
	
	
	public static final String KEY_WORD = "KEY_WORD";
	public static final String KEY_MEAN = "KEY_MEAN";
	public static final String KEY_TYPE = "KEY_TYPE";
	public static final String KEY_PRONUNCIATION = "KEY_PRONUNCIATION";
	public static final String KEY_IMAGE = "KEY_IMAGE";
	public static final String KEY_WORD_POSITION = "KEY_WORD_POSITION";
	public static final String KEY_FIRSTWORD = "KEY_FIRSTWORD";
	public static final String KEY_INDEX_ID = "KEY_INDEX_ID";
	public static final String KEY_DO_EXIT = "KEY_DO_EXIT";
	
	public static final String KEY_APP_WIDGET_IDS = "KEY_APP_WIDGET_IDS";
	
	
	public static final int STATE_NOCHANGE = 100;
	public static final int STATE_NEWWORD = 101;
	public static final int STATE_EDIT = 102;
	
	public static final String ACTION_SPEECH = "ACTION_SPEECH";
	public static final String ACTION_UPDATE_WIDGET = "ACTION_UPDATE_WIDGET";
	public static final String ACTION_ADD_WORD = "ACTION_ADD_WORD";
	
	
	public static final int REQUEST_TO_LISTWORD_MANAGER = 110;
	public static final int REQUEST_TO_SPEECH_WORD = 111;
	public static final int REQUEST_TO_SERVICE = 112;
	public static final int REQUEST_TO_SETTING = 113;
	public static final int REQUEST_TO_WORD_DETAIL_ON_WIDGET = 114;
	public static final int REQUEST_TO_WORD_DETAIL_ON_LIST = 115;
	
	
	public static final int ORDER_TOP_DOWN = 0;
	public static final int ORDER_BOTTOM_UP = 1;
	public static final int ORDER_RANDOM = 2;
	
	public static final int TEXT_TO_SPEECH_CHECK = 1;
	
}
